package org.jimm.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

/**
 * @author r.u.s.h.a.n.
 */
public class JimmActivity extends Activity {
    private static final String LOG_TAG = "Jimm:JimmActivity";

    @Override
    public void onCreate(Bundle savedInstanceState) {
        Log.i(LOG_TAG, "onCreate");
        super.onCreate(savedInstanceState);

        JimmApplication app = JimmApplication.getInstance(getApplication());

        app.callWhenServiceConnected(new Runnable() {

            public void run() {
                startActivity(new Intent(JimmActivity.this, ContactListActivity.class));
                Log.i(LOG_TAG, "callWhenServiceConnected");
                finish();
            }
        });
        //
    }

    public void onCreate_(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    public void invalidate() {
    }
}